package com.kin.rich.action;

public class ShowDataListAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int wordId;
	private int dataPageNo;
	private String searchDate;
	private int dataCat;
	private int userChecked;
	
	@Override
	public String execute() throws Exception {
		try{
			String hql = "from Searchdata where wordId="+wordId+" and dataPageNo="+dataPageNo+" and"
			+" searchDate='"+searchDate+"'";
			
			return SUCCESS;
		}catch(Exception e){
			e.printStackTrace();
			return INPUT;
		}
	}

	public int getWordId() {
		return wordId;
	}

	public void setWordId(int wordId) {
		this.wordId = wordId;
	}

	public int getDataPageNo() {
		return dataPageNo;
	}

	public void setDataPageNo(int dataPageNo) {
		this.dataPageNo = dataPageNo;
	}

	public String getSearchDate() {
		return searchDate;
	}

	public void setSearchDate(String searchDate) {
		this.searchDate = searchDate;
	}

	public int getDataCat() {
		return dataCat;
	}

	public void setDataCat(int dataCat) {
		this.dataCat = dataCat;
	}

	public int getUserChecked() {
		return userChecked;
	}

	public void setUserChecked(int userChecked) {
		this.userChecked = userChecked;
	}

}
